﻿using Furion.DependencyInjection;
using Magic.Core.Entity;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Magic.Core.Service;

public interface ICodeGenService: ITransient
{
    Task AddCodeGen(AddCodeGenInput input);
    Task DeleteCodeGen(List<DeleteCodeGenInput> inputs);
    Task<SysCodeGen> GetCodeGen(QueryCodeGenInput input);
    List<TableColumnOuput> GetColumnList(AddCodeGenInput input);
    Task<List<TableOutput>> GetTableList();
    Task<dynamic> QueryCodeGenPageList(CodeGenInput input);
    Task RunLocal(SysCodeGen input);
    Task UpdateCodeGen(UpdateCodeGenInput input);

    List<TableColumnOuput> GetColumnListByTableName(string tableName);
}
